@use 'transition';
@use "PageCss";
@use "@/styles/variables" as *;

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  user-select: none;
  padding: 0;
  margin: 0;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a:focus, a:active {
  outline: none;
}

a, a:focus, a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset !important;
  -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0) inset !important;
}

// 数据为空
.page-notInfo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;

  .img-box {
    width: 48%;
    height: 55%;

    img {
      width: 100%;
      height: 100%;
    }
  }

  span {
    font-size: 30px;
    color: #7b7b7b;
    position: absolute;
    top: 41%;
    left: 35%;
    font-family: 华文行楷, serif;
  }
}

// 全局滑动快
::-webkit-scrollbar {
  width: 5px;
  overflow-y: auto;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px rgba(89, 89, 89, 0.2);
  background: rgb(9, 162, 206);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #12204E;
}

// 头部title
.web-head-title {
  color: #00ddff;
  font-size: $layoutHeaderTitleFontSize;
  font-weight: 900;
  text-align: center;
  font-family: $layoutHeaderTitleType;
  letter-spacing: 5px; // 文字间距
}
